a=input()
a=k.split()
k=0
k1=0
k2=0
k3=0
k4=0
word=''
for i in range(len(a)):
    if[i]=='':
        k+=1
        if('gkjbkjtrjgvjkvjkjbjh')
        word=''
        if= a[i]='':
            word+a[i]
k=k=1
print('кол-во слов',k)
